installCompatInsetsDispatch
Installs a custom View.OnApplyWindowInsetsListener which dispatches WindowInsets to the given root and its descendants in a way compatible with Android R+ that consuming or modifying insets will only affect the descendants.
Note: When using this method, ensure that ViewCompat.setOnApplyWindowInsetsListener() is used instead of the platform call.
Parameters
root
The root view that the custom listener is installed on. Note: the listener will consume the insets, so make sure the given root is the root view of the window, or its siblings might not be able to get insets dispatched.